<div>
	<form method="post" id="resource_sub_form_${jsid?default('')}" name="resource_sub_form_${jsid?default('')}" >
	<input type="hidden" id="entity.id" name="entity.id"  />
	<input type="hidden" id="entity.parent.id" name="entity.parent.id" value="<#if parent?exists>${parent.id?default('')}</#if>" />
	<input type="hidden" id="entity.parentCode" name="entity.parentCode" value="<#if parent?exists>${parent.keyCode?default(0)}<#else>0</#if>" />
	<input type="hidden" id="entity.keyType" name="entity.keyType" value="${type?default('')}" />
	<input type="hidden" id="entity.priority" name="entity.priority" value="<#if parent?exists>${parent.priority?default(0)}<#else>0</#if>" />
	<input type="hidden" id="entity.hasLeaf" name="entity.hasLeaf" value="${cascade?string('true','false')}" />
    <table class="form-table" >
        <tr>
            <td>${action.getDatagridTitle('name')}:</td>
            <td><input id="entity.name" name="entity.name" type="text" style="width:380px;"  class="easyui-validatebox" data-options="required:true,validType:'length[0,64]'"   /></td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('keyValue')}:</td>
            <td><textarea id="entity.keyValue" name="entity.keyValue" style="height:100px;width:380px;resize: none;"  class="easyui-validatebox" data-options="validType:'length[0,256]'"   ></textarea></td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('comments')}:</td>
            <td><textarea id="entity.comments" name="entity.comments" style="height:100px;width:380px;resize: none;"  class="easyui-validatebox" data-options="validType:'length[0,512]'" ></textarea></td>
        </tr>
    </table>
	</form>
</div>
